Type.registerNamespace("EvNet.UI");

EvNet.UI.Overlay = function(element) {

    EvNet.UI.Overlay.initializeBase(this, [element]);
}

EvNet.UI.Overlay.prototype = {
    
    // Public Methods
    show: function() {
        var overlay = this.get_element();
        
	    overlay.style.height = Globals.getBrowserMeasurements().page.height.toString() + 'px';
	    overlay.style.display = 'block';
    },
    
    hide: function() {
        this.get_element().style.display = 'none';
    }
}

EvNet.UI.Overlay.registerClass("EvNet.UI.Overlay", Sys.UI.Control);

if (Sys != undefined) Sys.Application.notifyScriptLoaded();